package com.mvc.response;

public enum Code {
	

	
	
	/**当前用户已在其他设备登录，请重新登录!*/
	CODE_USER_RELOGIN(400,"当前用户已在其他设备登录，请重新登录!"),
	/**当前用户不存在,请注册!*/
	CODE_USER_EXIT(300,"当前用户不存在,请注册!"),
	/**请求参数不完整!*/
	CODE_PARA_COMPLETE(500,"请求参数不完整!");
	

	public static final  int CODE_200 = 200;
	public static final  int CODE_201 = 201;
	public static final  int CODE_202 = 202;
	
	int code;
	String msg;


	 Code(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}


	public int getCode() {
		return code;
	}


	public String getMsg() {
		return msg;
	}
	 
	 
}
